module.exports = {
    outputDir: 'public/js',
    entry: {
        home: './resources/assets/js/home.js',
        projectsBoard: './resources/assets/js/projectsBoard.js',
        projectShow: './resources/assets/js/projectShow.js'
    },
    devtool: 'eval',
    output: {
        filename: '[name].js'
    },
    module: {
        loaders: [{
            test: /\.vue$/,
            loader: 'vue'
        }, {
            test: /\.js$/,
            loader: 'babel!eslint',
            // make sure to exclude 3rd party code in node_modules
            exclude: /node_modules/
        }],
        vue: {
            loaders: {
                js: 'babel!eslint'
            }
        }
    }
};
